package com.beadwallet.quartz.service;


import com.beadwallet.quartz.entity.JobAndTrigger;
import com.github.pagehelper.PageInfo;

public interface IJobAndTriggerService {
    /**
     * 查询所有定时任务信息
     *
     * @param pageNum
     * @param pageSize
     * @return
     */
    public PageInfo<JobAndTrigger> getJobAndTriggerDetails(int pageNum, int pageSize);

    /**
     * 查询定时任务实体
     * @param jobName
     * @return
     */
    public PageInfo<JobAndTrigger> getJobBy(String jobName);
}
